﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Masterpages/Main.master" AutoEventWireup="true" EnableEventValidation="false" CodeFile="SendSMS.aspx.cs" Inherits="User_Employer_SendSMS" %>

<%@ Register src="../../Controls/SelectUser.ascx" tagname="SelectUser" tagprefix="uc1" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register Assembly="JQControls" Namespace="JQControls" TagPrefix="jq" %>   
<%@ Register Assembly="AjaxControlToolkit" 
    Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<%@ Register src="../../Controls/ContentHolder/Holder1.ascx" tagname="Holder1" tagprefix="uc2" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style1
        {
            width: 100%;
        }
    </style>
   
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <uc2:Holder1 ID="Holder11" runat="server" >
<ContentTemplate>


  <table class="style1" dir="rtl">
  
       <tr>
            <td>
                &nbsp;</td>
            <td align="right">
                <table class="style1">
                    <tr>
                        <td>
                            <asp:CheckBox ID="CheckBoxNotific" runat="server" CssClass="MainObject" 
                                Text="ارسال پیغام درون سیستمی" />
                        </td>
                        <td>
                            <asp:CheckBox ID="CheckBoxSMS" runat="server" CssClass="MainObject"  
                                Text="ارسال پیام کوتاه(SMS)" />
                        </td>
                    </tr>
                </table>
            </td>
            <td>
                <asp:Label ID="Label2" runat="server" CssClass="MainObject"  Text="نوع پیغام"></asp:Label>
                
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td align="center" dir="rtl">
                <asp:TextBox ID="TextBoxText" runat="server"  Height="106px" 
                    TextMode="MultiLine" Width="307px"></asp:TextBox>
            </td>
            <td>
                <asp:Label ID="Label1" runat="server" CssClass="MainObject"  Text="متن پیغام"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td align="center" dir="rtl">
                <asp:CheckBox ID="CheckBoxAdvisorHoghooghi" runat="server" CssClass="MainObject" 
                    Text="همه مشاوران حقوقی" />
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td align="center">
                <asp:CheckBox ID="CheckBoxAdvisorHaghighi" runat="server" CssClass="MainObject"  
                    Text="همه مشاوران حقیقی" />
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td align="center">
                <asp:CheckBox ID="CheckBoxSurveyorHoghooghi" runat="server" CssClass="MainObject"  
                    Text="همه نقشه برداران حقوقی" />
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td align="center">
                <asp:CheckBox ID="CheckBoxSurveyorHaghighi" runat="server" CssClass="MainObject"  
                    Text="همه نقشه برداران حقیقی" />
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td align="center">
                <asp:CheckBox ID="CheckBoxFourthFactor" runat="server" CssClass="MainObject" 
                    Text="همه عاملین چهارم" />
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td align="center">
                <asp:CheckBox ID="CheckBoxEmployees" runat="server" CssClass="MainObject" 
                    Text="همه کارمندان سازمان" />
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td align="center">
                <asp:Button ID="ButtonSelectUser" runat="server" CssClass="MainObject" 
                    Text="انتخاب کاربر" onclick="ButtonSelectUser_Click" />
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td align="center" dir="rtl">
                <asp:LinkButton ID="LinkButtonDelete" runat="server" CssClass="MainObject" 
                    onclick="LinkButtonDelete_Click" >حذف</asp:LinkButton>
                <asp:ListBox ID="ListBoxUsers" runat="server" CssClass="MainObject"  Width="222px">
                </asp:ListBox>
                <asp:LinkButton ID="LinkButtonLoad" runat="server" CssClass="MainObject" 
                    onclick="LinkButtonLoad_Click" >بار گذاری لیست</asp:LinkButton>
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td align="center" dir="rtl">
             <cc1:PopupControlExtender ID="PopupControlExtender1" runat="server" OnUnload="PopupControlExtender1_Dispose"
                                        PopupControlID="PanelDestination" Position="Left" TargetControlID="ButtonSelectUser"></cc1:PopupControlExtender>
                                          <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                                            <ContentTemplate>
                                                <center>
                                          <asp:Panel ID="PanelDestination" runat="server" BackColor="#99CCFF" BorderColor="#0099FF" 
                                                        BorderStyle="Solid" BorderWidth="2">
                                        
                                                 <uc1:SelectUser ID="SelectUser1" runat="server" />
                                        
                                          </asp:Panel>
                                                       <asp:UpdateProgress ID="UpdateProgress1" runat="server" 
                                                        AssociatedUpdatePanelID="UpdatePanel1" DisplayAfter="1">
                                                        <progresstemplate><img src="../../Pics/loading.gif" /></progresstemplate>
                                                    </asp:UpdateProgress>
                                                    &nbsp;&nbsp;
                                                    <asp:Label ID="lblStatus" runat="server"></asp:Label>
                                                </center>
                                            </ContentTemplate>
                                        </asp:UpdatePanel>
       
            </td>
            <td>
                &nbsp;</td>
        </tr>
        <tr>
            <td>
                &nbsp;</td>
            <td align="center" dir="rtl">
                <asp:Button ID="ButtonSend" runat="server" Height="40px" 
                    onclick="ButtonSend_Click" Text="ارسال" Width="50%" 
                    CssClass="MainObject" />
       
            </td>
            <td>
                &nbsp;</td>
        </tr>
    </table>
    </ContentTemplate></uc2:Holder1>
</asp:Content>

